package com.jacky.iot.dtos;

import lombok.Data;

import java.util.concurrent.TimeUnit;

@Data
public class TimeCmd {

    private int time; // 时间: 如拉取频率, 数据的时间窗口
    private TimeUnit timeUnit;

    public TimeCmd(int time, TimeUnit timeUnit) {
        this.time = time;
        this.timeUnit = timeUnit;
    }
}
